home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr47 / 335_04.zip / FRAEUNI.H < prev    next >
Text File  |  1993-04-13  |  603b  |  33 lines

  1. /*
  2. HEADER:     ;
  3. TITLE:         Frankenstein Cross Assemblers;
  4. VERSION:     2.0;
  5. DESCRIPTION: "    Reconfigurable Cross-assembler producing Intel (TM)
  6.         Hex format object records.  ";
  7. FILENAME:     fraeuni.h;
  8. SEE-ALSO:     frapsub.c, fraosub.c;
  9. AUTHORS:     Mark Zenier;
  10. */
  11. /*
  12.     description    switch case actions for unary operators for
  13.             both the parse and output phase expression
  14.             evaluators
  15. */
  16.  
  17.         case IFC_NEG:
  18.             etop = -etop;
  19.             break;
  20.  
  21.         case IFC_NOT:
  22.             etop = ~ etop;
  23.             break;
  24.  
  25.         case IFC_HIGH:
  26.             etop = (etop >> 8) & 0xff;
  27.             break;
  28.  
  29.         case IFC_LOW:
  30.             etop = etop & 0xff;
  31.             break;
  32.  
  33.